php forum
php mysql forum
php mysql smarty
 
Page 1 of 7 1 2 3 4 5 6 7 >
Topic Options
#313540 - 03/14/07 05:34 PM [7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3)
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Instead of continuing to completely hijack the other thread, and post additions everywhere but the initial post; here's the thread for my Embedding BBCode additions.

7.3 Update - Due to the "Custom Tags" option added in 7.3 these can be added much easier, without having to hack code. Please see the following links:
[7.3+] Gizmo's Embedding BBCode (Compatibility) (compatibility with the codes below in 7.3)
[7.3+] Gizmo's CustomTags (My new custom tags thread for all things 7.3+)

Installation:
Open: libs/ubbthreads.inc.php
Find:
Code:
			// You don't see the next line
			array( "#\[email=([+_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4}))\](.+?)\[/email]#i", '<a href="mailto:\1">\5</a>' ),


Add After (choose any you wish, this is my added block from my site):
Code:
			// Gizmo's Added UBBCode
			array( "#\[google\]([a-zA-Z0-9 ]+)\[/google\]#i", '<a href="http://www.google.com/custom?domains=www.undergroundnews.com&amp;q=\1&amp;sa=Search&amp;sitesearch=&amp;client=pub-5168900358893374&amp;forid=1&amp;channel=4984299912&amp;ie=ISO-8859-1&amp;oe=ISO-8859-1&amp;cof=GALT%3A%238CA3D6%3BGL%3A1%3BDIV%3A%23666666%3BVLC%3A8CA3D6%3BAH%3Acenter%3BBGC%3A000000%3BLBGC%3A000000%3BALC%3AC0C0C0%3BLC%3AC0C0C0%3BT%3AFFFFFF%3BGFNT%3A8CA3D6%3BGIMP%3A8CA3D6%3BFORID%3A1&amp;hl=en" target="_new">\1</a>' ),
			array( "#\[googlevideo\]([a-zA-Z0-9-_]+)\[/googlevideo\]#i", '<center><embed style="width:425px; height:350px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=\1&amp;hl=en"></embed></center>' ),
			array( "#\[googleimages\]([a-zA-Z0-9 ]+)\[/googleimages\]#i", '<a href="http://images.google.com/images?sourceid=navclient-ff&amp;ie=UTF-8&amp;rls=GGGL,GGGL:2006-17,GGGL:en&amp;q=\1" target="_new">\1</a>' ),
			array( "#\[froogle\]([a-zA-Z0-9 ]+)\[/froogle\]#i", '<a href="http://froogle.google.com/froogle?q=\1C&amp;btnG=Search+Froogle" target="_new">\1</a>' ),
			array( "#\[pricegrabber\]([a-zA-Z0-9 ]+)\[/pricegrabber\]#i", '<a href="http://www.pricegrabber.com/search_getoffers.php?keyword=\1" target="_new">\1</a>' ),
			array( "#\[youtube\]([a-zA-Z0-9-_]+)\[/youtube\]#i", '<center><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></center>' ),
			array( "#\[break\]([a-zA-Z0-9-_]+)\[/break\]#i", '<center><object width="425" height="350"><param name="movie" value="http://embed.break.com/\1"></param><embed src="http://embed.break.com/\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),
			array( "#\[yahoovideo\]([a-zA-Z0-9-_]+).([a-zA-Z0-9 ]+)\[/yahoovideo\]#i", '<center><embed src="http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player/media/swf/FLVVideoSolo.swf" flashvars="id=\2&amp;emailUrl=http%3A%2F%2Fvideo.yahoo.com%2Futil%2Fmail%3Fei%3DUTF-8%26vid%3D\1.\2%26cache%3D1&amp;imUrl=http%253A%252F%252Fvideo.yahoo.com%252Fvideo%252Fplay%253F%2526ei%253DUTF-8%2526vid%253D\1.\2%2526cache%253D1&amp;imTitle=TreehuggerTV%253A%2BFreshtopia%2BTakes%2Bthe%2BLong%2BTrain&amp;searchUrl=http://video.yahoo.com/video/search?p=&amp;profileUrl=http://video.yahoo.com/video/profile?yid=&amp;creatorValue=YmlwZWRiaXBlZA%3D%3D&amp;vid=\1.\2" type="application/x-shockwave-flash" width="425" height="350"></embed></center>' ),
			array( "#\[myspace\]([a-zA-Z0-9 ]+)\[/myspace\]#i", '<a href="http://www.myspace.com/\1" target="_new">\1</a>' ),
			array( "#\[myspacevideo\]([a-zA-Z0-9-_]+)\[/myspacevideo\]#i", '<center><embed src="http://lads.myspace.com/videos/vplayer.swf" flashvars="m=\1&amp;type=video" type="application/x-shockwave-flash" width="425" height="350"></embed></center>' ),
			array( "#\[loowa\]([a-zA-Z0-9@.]+)\[/loowa\]#i", '<a href="http://www.loowa.com/profile.php?email=\1" target="_new">\1</a>' ),
			array( "#\[loowavideo\]([a-zA-Z0-9-_]+)\[/loowavideo\]#i", '<center><embed src="http://update.videoegg.com/flash/player8.swf?jsver=1.3" FlashVars="file=http%3A//selfserve1.download.videoegg.com/gid353/cid1208/CZ/PW/1169094106KzyWvMT0WVB7S74rN6a2&amp;bgColor=000000&amp;autoPlay=false&amp;showAd=false&amp;adVars=&amp;pageURL=http%3A//www.loowa.com/video/\1&amp;allowFlash9Fullscreen=true" quality="high" allowFullScreen="true" allowScriptAccess="always" bgcolor="#000000" scale="noscale" wmode="window" width="425" height="350" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></center>' ),
			array( "#\[revver\]([a-zA-Z0-9-_]+)\[/revver\]#i", '<center><embed type="application/x-shockwave-flash" src="http://flash.revver.com/player/1.0/player.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="noScale" salign="TL" bgcolor="#ffffff" flashvars="mediaId=\1&affiliateId=64082" wmode="transparent" height="350" width="425"></embed></center>' ),
			array( "#\[wiki\]([a-zA-Z0-9 ]+)\[/wiki\]#i", '<a href="http://en.wikipedia.org/wiki/\1" target="_new">\1</a>' ),
			array( "#\[description\](.+?)\[/description\]#i", '<b>Description</b>: \\1' ),
			array( "#\[desc\](.+?)\[/desc\]#i", '<b>Description</b>: \\1' ),
			array( "#\[photobucket\]([a-zA-Z0-9-_/:.]+)\[/photobucket\]#i", '<center><object width="425" height="350"><embed type="application/x-shockwave-flash" wmode="transparent" src="http://w33.photobucket.com/pbwidget.swf?pbwurl=\1" height="350" width="425"></embed></object></center>' ),
			array( "#\[podcast\]([a-zA-Z0-9-_.&:/]+)\[/podcast\]#i", '<center><embed src="http://www.undergroundnews.com/forum/addons/mp3player.swf" width="425" height="42" bgcolor="#000000" quality="low" menu="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="file=\1&amp;autostart=false&amp;backcolor=0x000000&amp;frontcolor=0xFFFFFF&amp;lightcolor=0xFFFFFF" /></center>' ),
			array( "#\[webcam\]([a-zA-Z0-9-_]+)\[/webcam\]#i", '<center><embed src="http://player.stickam.com/stickamPlayer/\1" type="application/x-shockwave-flash" width="480" height="210" allowScriptAccess="always"></embed></center>' ),
			array( "#\[pbucket\]([a-zA-Z0-9-_.:/]+)\[/pbucket\]#i", '<center><embed width="425" height="350" type="application/x-shockwave-flash" wmode="transparent" src="http://vid68.photobucket.com/player.swf?file=\1"></embed></center>' ),
			array( "#\[skype\]([a-zA-Z0-9-_]+)\[/skype\]#i", '<a href="skype:\1?call"><img src="http://mystatus.skype.com/bigclassic/\1" style="border: none;" width="182" height="44" alt="My status" /></a>' ),
			array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
			array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),
			array( "#\[liveleak\]([a-zA-Z0-9_]+)\[/liveleak\]#i", '<center><object type="application/x-shockwave-flash" width="425" height="350" wmode="transparent" data="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="movie" value="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="wmode" value="transparent"><param name="quality" value="high"></object></center>' ),
			array( "#\[sdeluxe\]([a-zA-Z0-9]+)\[/sdeluxe\]#i", '<center><object width="425" height="350"><param name="allowFullScreen" value="true" /><param name="movie" value="http://www.superdeluxe.com/static/swf/share_vidplayer.swf" /><param name="FlashVars" value="id=\1" /><embed src="http://www.superdeluxe.com/static/swf/share_vidplayer.swf" FlashVars="id=\1" type="application/x-shockwave-flash" width="425" height="350" allowFullScreen="true" ></embed></object></center>' ),


Usage:
Code:
[google]Search Criteria[/google]
[googlevideo]VideoID[/googlevideo]
[googleimages]Search Criteria[/googleimages]
[froogle]Search Criteria[/froogle]
[pricegrabber]Search Criteria[/pricegrabber]
[youtube]VideoID[/youtube]
[break]VideoID[/break]
[yahoovideo][/yahoovideo]
[myspace]UserID[/myspace]
[myspacevideo]VideoID[/mypacevideo]
[loowa]UserID[/loowa]
[loowavideo]VideoID[/loowavideo]
[revver]VideoID[/revver]
[wiki]Wiki Criteria[/wiki]
[description]Desctiption Data[/description]
[desc]Description Data[/desc]
[photobucket]EmbedURL[/photobucket]
[podcast]http://www.url.to/podcast.mp3[/podcast]
[webcam]StickamID[/webcam]
[pbucket]PhotoBucketVideoURL[/pbucket]
[skype]SkypeID[/skype]
[flash]height, width, URL[/flash]
[flash]URL[/flash]
[liveleak]VideoID[/liveleak]
[sdeluxe]VideoID[/sdeluxe]


Others:
Spoiler Tags
Daily Motion

NOTE:
  • The [podcast] tag requires the MP3 flash file inserted into your /libs directory; this file is available here. Please note that you'll also need to insert the URL to this file in the bbcode entry.
  • For support on the Spoiler Tags bbcode, please go here as it has its own page.
  • To see why there is the description/desc tags, please see here.
  • The PhotoBucket Video code requires the videoURL from the embed link on photobucket, you can't use the "link to this page" link as it does not give the video data to embed the video.


Markup Panel Note: The text attached shows you how to add an option to your markup panel (the graphic goes in images/markup_panel/ and should be named "vidembed.gif"); it took a while to get everything to mesh well, but I think it should work fine.

The only options in here (for now) is the Video Embedding options, and it prompts the user to enter a description for their video (so search engines or impaired users can actually tell what it is as they can have issues viewing videos)... On another note, do you like my video embed graphic?

Licensing Notice: I hereby grant exclusive access over the attached image(s) to UBB.Central and UBB.Dev and their userbase to be used only within the UBB (and any UBB addon's or scripts). No other usage is approved.

Attachment Information:
2475.gif - vidembed.gif
vidembedmarkuppanel.txt - The markup panel addon WITH the description tag added into the javascript prompts (recommended as Search Engines and Visually Impaired users cannot SEE the video, the reader can read a description of the video; higly recommended especially if you rely on search engine traffic).
vidembedmarkuppanel2.txt - The markup panel addon WITHOUT the description tag added into the javascript prompts (the above is recommended, this is provided for those who don't want the description tag for whatever reason).


Attachments
vidembed.gif

vidembedmarkuppanel.txt (68 downloads)
vidembed.jpg

vidembedmarkuppanel2.txt (48 downloads)

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313541 - 03/14/07 05:53 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
It'd seem that Yahoo changed how they embed items, I'm not sure how at moment, but the embed string is nothing like it was several months ago...

It USED to be: 146a6f217779edcc766c1f02c7696206.1417545 where the long string is the userid, and the short is the videoid; but now they're crafting data different and it looks (offhand) that I just need to call the videoid... interesting...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313543 - 03/14/07 07:03 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Cuervo Offline
User

Registered: 11/10/01
Posts: 29
zOMG no markup code /hint Gizmo
_________________________
-Cuervo
zOMG and oNOES

Top
#313544 - 03/14/07 07:14 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Cuervo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
HUmmm i lost my last post.

1. Does your code above gizmo cover the _ in "YouTube" ?


Its an instant hit with the members Gizmo smile

Another site you may want to include and is very popular is

http://www.dailymotion.com/

Top
#313546 - 03/14/07 09:20 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Cuervo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: Mark_S
1. Does your code above gizmo cover the _ in "YouTube"?


In short, yes:
Originally Posted By: Gizmo
[a-zA-Z0-9-_]


Originally Posted By: Cuervo
zOMG no markup code /hint Gizmo
hmm? Do you mean the markup panel itself? If so, I guess I could throw something togethere, but after a couple additions it'll get quite crowded...


As for "dailymotion", this should work, however you have to take the id out of the embed code vs the url:
Code:
			array( "#\[dailymotion\]([a-zA-Z0-9-_]+)\[/dailymotion\]#i", '<center><object width="425" height="350"><param name="movie" value="http://www.dailymotion.com/swf/\1"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/\1" type="application/x-shockwave-flash" width="425" height="350" allowfullscreen="true"></embed></object></center>' ),

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313547 - 03/15/07 04:02 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Top Man Top Man

Cheers Gizmo will test it later smile

Top
#313548 - 03/15/07 04:47 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Works like a charm the dailymotion..

Top
#313552 - 03/15/07 04:01 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
glad to hear it. I'm going to work on the yahoo code later on when I get more time; it's really odd that they changed things around; i'm wondering what all i can shave from the embed code...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313562 - 03/16/07 07:07 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Giz - you have

[description]Desctiption Data[/description]
[desc]Description Data[/description]

rather than

[description]Desctiption Data[/description]
[desc]Description Data[/desc]#

not 100% sure what this one does at the moment BTW
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313571 - 03/16/07 04:42 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
haha, good call! Consider it updated.

Description is just a small tag which allows you to post a description of a video, basically its no different than:
Code:
[b]Description[/b]: This is the description.


Basically, it's to encourage people to post a description with their videos; as search engines cannot crawl, let alone see, the content within the flash file lol.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313574 - 03/16/07 05:37 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Jesus we have code tags coming out of our hoola hoops lol

Didnt even know i had that one until you mentioned it Ian.

Keep up the good work Gizmo smile

Top
#313580 - 03/17/07 02:20 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol, yeh if you just copy down the block above you get a whole bunch of added goodies lol; though the podcast code requires the mp3 swf file (though theres a link to that in my notes). The spoiler one is heavily used by some communities; and it's a great one...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313602 - 03/18/07 06:40 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Whilst I think this is great - the only problem is that most users when they make a post are totally unaware of these functions unless they are on buttons or as a drop down etc.
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313608 - 03/18/07 04:15 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
You can craft entries for the full reply box's system, however there isn't much space to play, and adding too many items is going to make it quite full and messy looking...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313617 - 03/19/07 06:08 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
I know - that is why there should be an alternative - maybe a dropdown?
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313630 - 03/19/07 04:26 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Ian_W]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Sure, if you know javascript go ahead... wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313656 - 03/20/07 05:19 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
chillin Offline
Journeyman

Registered: 01/26/03
Posts: 127
Loc: bend, OR USA
Ouch, no props to the original YouTube mod!? tipsy
_________________________
i see threads people
http://www.chinooktc.com

Top
#313657 - 03/20/07 05:44 PM Re: [7.x] Gizmo's Embedding BBCode [Re: chillin]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: chillin
Ouch, no props to the original YouTube mod!? tipsy
I made this about the same time as the "original" was listed here for my personal use wink...

I'm actually contemplating remaking all of mine to be xhtml valid; but that'd take too long and i'd get bored hehe.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313701 - 03/24/07 03:56 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Hey ive just noticed that when members have been using this
mod YouTube its recording the hits from the embedded link.

So if your members embedd a YouTube Video
Google is picking up your site name. smile smile

e.g. - Google Result looks like this.

YouTube - Chassis with 27 litre tank engine for Rover SD1 project
4 clicks from http://www.mysite.co.uk/forums/ubbthreads.php?ub...
3 clicks from http://www.his-site.co.uk/forum/index.php?showto. ...


Extra Bonus there with the YouTube Hack smile smile
Again Nice one Gizmo

Top
#313707 - 03/24/07 05:15 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol how do you look those up mark? sounds fun :x
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313736 - 03/29/07 03:04 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
With me changing domain names recently,
i only have a search result from google of 200

so i was just going through the 5 pages or so,
to see what was being spidered and there they were,
at about 100 ish results in smile

I guess there were about 6 diffrent ones that were listed.
Its a very popular add-on on my site the members love it.

Top
#313737 - 03/29/07 04:12 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I'm glad to hear it's popular! Video blogging/posting is really something that I expect to see more of in the months and years to come, can't wait to see how things develop smile
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313738 - 03/29/07 04:48 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
My members like it - but they are a bit thick at times LOL and forget to use the features....

Maybe it is because they often use the quick reply box, so do not see these features, and indeed smilies within or near that box.

Not sure of the reason - but I used to see it used, but not any more frown
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#313743 - 03/29/07 06:06 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Updated initial page, added -_ for all video tags (since it's becoming more and more popular, figured why the hell not), also added break.com.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313995 - 04/28/07 10:06 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I removed the Spoiler Tags code as I work on it on the other thread; and I added a PhotoBucket Video embed code.

If I can find a flash embedder that I'm happy with, I'll add that as well, so stay tuned.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#313996 - 04/29/07 03:40 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Originally Posted By: Gizmo
Add After (choose any you wish, this is my added block from my site):


I would put things at a different spot.

You need to modify the lines a bit, but imho it should be in the "if( $type != "sig" ) {" construction just below the place you put it in now.

Because all these flash thingy includes don't belong in a signature. Just add "$regexes[] = " and replace the , at the end with a ; and it should work, I think smile
_________________________

Top
#313997 - 04/29/07 05:57 AM Re: [7.x] Gizmo's Embedding BBCode [Re: blaaskaak]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
'eh woudln't be too hard I guess :shrug: some people may want spoilers in their sig? :shrug: you could put them in either place, would take just a couple extra lines to drop them in the no sig area
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314050 - 05/08/07 09:18 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
For my new friend Outdoorking, a Skype BBCode:
Code:
array( "#\[skype\]([a-zA-Z0-9-_]+)\[/skype\]#i", '<a href="skype:\1?call"><img src="http://mystatus.skype.com/bigclassic/\1" style="border: none;" width="182" height="44" alt="My status" /></a>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314194 - 05/24/07 03:19 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
At our forum we use youtube and google video.

But especially with youtube, lots of people just type in the whole url instead of just the code.

But it shouldn't be too difficult to accept a whole URL also isn't it?

My lame attempt was:

Code:
			array( "#\[youtube\]http://www.youtube.com/watch?v=([a-zA-Z0-9-_]+)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),			


But regexxes is pretty new for me, so I don't know what characters I can or can't use.
_________________________

Top
#314201 - 05/25/07 12:44 AM Re: [7.x] Gizmo's Embedding BBCode [Re: blaaskaak]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I donno why that wouldn't work offhand, it looks sane enough; don't really have the time atm to test it, but i'll give it a shot later on.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314312 - 06/04/07 05:04 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
nice
_________________________

Top
#314378 - 06/11/07 01:31 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
ehm Offline
Journeyman

Registered: 10/23/02
Posts: 112
Great product. Work's perfect on my forum smile
thank you Gizmo smile

Top
#314657 - 07/09/07 07:37 PM Re: [7.x] Gizmo's Embedding BBCode [Re: ehm]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
7.2X

Works fine for me smile

Qwerk?
7.1x video's would appear in the centre in a post.
7.2x Video's now appear on the left?

Anyone else or have i broke it again lol

Top
#314658 - 07/09/07 07:50 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Gizmo

I have an extra bit of code that isnt mentioned in your first post?
In FF if i remove this code, and click preview it show it as
tags and tube code only?

Php Code:
array( "#\[youtube\](.+?)\[/youtube\]#i", '<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/\1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/\1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>' ),



 

Its then i would paste the rest of your code in post 1 of this thread.
Of course i dont understand any of it just feed back wink

Top
#314659 - 07/09/07 08:18 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
Code:
array( "#\[pbucket\]([a-zA-Z0-9-_.:/]+)\[/pbucket\]#i", '<center><embed width="425" height="350" type="application/x-shockwave-flash" wmode="transparent" src="http://vid68.photobucket.com/player.swf?file=\\1"></embed></center>' ),


remove second \ after file=\, then it works
_________________________

Top
#314660 - 07/09/07 08:37 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Mark, the reason they're not centered is because the youtube tag you're using isn't from my posting, it's from the other youtube tag posting in another thread. This should effect both of your posts.


_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314661 - 07/10/07 04:31 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Yep all working now wink
used ALL of the code from the first post wink

Part of my problem was a video i was testing?

OTl8ySlr4Qw&eurl

Ive no idea where the &eurl came from as in i dont know.
So that was causing me problems as it was the correct format.

With &eurl removed the extra and positioning now all works.
Centred and previewing fine wink


OTl8ySlr4Qw

I'm now using all the codes posted in the first post wink
Thanks for the reply's.

Top
#314664 - 07/10/07 04:55 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
lol, not a problem wink... figured you'd have asked me on AIM about this vs having me stumble in half drunk
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314665 - 07/10/07 10:11 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
On me laptop with out msn settings frown
There's always next time lol

Top
#314690 - 07/12/07 02:42 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Code updated to remove the additional \ in the pbucket tag which wasn't working for some users.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314912 - 07/23/07 01:06 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
worked well on 7.2, thankie smile
_________________________
- Allen wavey
- What Drives You?

Top
#314916 - 07/23/07 06:49 PM Re: [7.x] Gizmo's Embedding BBCode [Re: AllenAyres]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
yep, i added it all too.. btw, i have a firefox extension that i wrote to make it easy to just right click and have all the codes handy with it parsing the clipboard ..

makes it easier, while the editor hasn't all the options

i'll post it in another thread..

dunno what to call it yet laugh ubbfox ? threadsfox ? whatever wink
_________________________

Top
#314917 - 07/23/07 06:53 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Gizmo's BBCode! lol...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314937 - 07/24/07 03:34 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
We use an alternative youtube line on themepark.nl that is w3c xhtml valid

Code:
			$regexes[] = array( "#\[youtube\]([a-zA-Z0-9-_]+)\[/youtube\]#i", '<object type="application/x-shockwave-flash" style="width:425px; height:350px;" data="http://www.youtube.com/v/\1"><param name="movie" value="http://www.youtube.com/v/\1" /><param name="wmode" value="transparent"></object>');		


If you copy/paste this one, it needs to be in the if( $type != "sig" ) { section. I don't want youtube video's in signatures, that's why I put in the non signature section.

source: http://www.bernzilla.com/item.php?id=681
_________________________

Top
#314942 - 07/24/07 06:49 PM Re: [7.x] Gizmo's Embedding BBCode [Re: blaaskaak]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
What's different in yours than mine? Mine's taken directly from the youtube site; it shouldn't be any harder to just copy the code to the nosig area.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#314945 - 07/24/07 07:24 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Originally Posted By: Gizmo
What's different in yours than mine? Mine's taken directly from the youtube site;


The difference in mine is that is does not use the embad tag.

The embad tag is fine for html, but it is not part of the xhtml standard.
ubb.threads uses xhtml, so you should avoid imho if possible non xhtml code.

http://www.alistapart.com/articles/flashsatay

more reading about this.
_________________________

Top
#314946 - 07/24/07 07:30 PM Re: [7.x] Gizmo's Embedding BBCode [Re: blaaskaak]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Ahhh, yeh i use object tag on my corthell.net site due to embed not being in the xhtml spec; but I didn't want to rewrite all of the other tags especially since the paramaters can and will change and I didn't want to have to constantly update them for new params
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315090 - 08/07/07 11:23 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
If you use the youtube tags its ok
if you use the myspacevideo tags its not?

This is feedback and what i mean is that the Active
Topic List goes behind the myspace videos but the
youtube ones seem fine? Even the Rate topic and the
other drop menus get hidden behind the myspacevideo video.

Its a qwerk but i thought i would mention it if ricks
throwing this into 7.3 wink

Top
#315102 - 08/07/07 11:36 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Could you link me to this b0ged thread? it should display the item in line in the post area as that's where it's being embedded...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315116 - 08/08/07 07:17 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Got your PM, I believe this is a forum issue vs one with this addon (as we're only adding BBCode); I'm curious if you could add an image with the image tag and see if the same happens...

I believe SD had a similar issue on his hopto mod with a user so I'll talk to him about it later.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315118 - 08/08/07 08:36 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
z-index baby ! in the tpl should do it smile
_________________________

Top
#315124 - 08/09/07 12:29 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
tried a zindex on the manage topic table (and div) and it pops behind; very odd indeed...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315127 - 08/09/07 08:02 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
position: abosolute on the div too wink
_________________________

Top
#315131 - 08/09/07 05:51 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
still showing behind the video wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315132 - 08/09/07 06:33 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Added [flash] tags to the initial post; covered both "url only" and "height/width/url" definitions.

The tags use the object tag vs the embed tag (like the others) to ensure proper validation.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315133 - 08/09/07 09:45 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
Originally Posted By: Gizmo
still showing behind the video wink


post it as a bug ! wink
_________________________

Top
#315134 - 08/09/07 09:59 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Yeh, but then he'll say it's cas of the "mod" wink... But very odd none the less...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315135 - 08/09/07 10:22 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
lol, well, assuming that video gets embedded into future versions, this will become a 'bug'

and i'm quite sure there's a fix in properly setting up the div in the right DOM order...

i guess we can table it for now until then...
_________________________

Top
#315136 - 08/09/07 10:38 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
By table it, I assume you mean tell mark he's sol? :x
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315137 - 08/09/07 10:43 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
dude. it's a css / html thingie.. you are the expert dude wink

so you get to tell him laugh
_________________________

Top
#315138 - 08/09/07 11:47 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Mark, we tried everything, but unfortunately, she's dead, you're screwed... next?

lol... jk, not sure about how to fix it here atm...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315153 - 08/10/07 10:23 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
well, it's not a bug. you guys are doing something wrong. i have my hop to menu doing the same thing over a youtube vid..

screenie:

soooooo..... where's the beef ? laugh
_________________________

Top
#315156 - 08/11/07 04:26 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Try with a MySpaceVideo link...
Code:
[myspacevideo]6827997[/myspacevideo]
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315157 - 08/11/07 07:07 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
you tube is fine wink
its not a bug more a qwerk as it shows the video wink

Top
#315159 - 08/11/07 07:49 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
i will agree that it's even more weird that the myspacevideo is the only tag affected :x...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315162 - 08/11/07 11:44 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
well, it's not a bug. you guys are doing something wrong. i have my hop to menu doing the same thing over a youtube myspace vid..

screenie:

soooooo..... where's the beef ? laugh
_________________________

Top
#315163 - 08/11/07 06:42 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
lol how about the "manage topic" box big boy wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315164 - 08/11/07 07:06 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
hehe, i was sayin you should do same div + css that i did with the hop to mod that is done with manage topic... sonny boy laugh

when i get back from b'day party, i will see what the diffs are.. it will be a small change, imo :neener:
_________________________

Top
#315168 - 08/11/07 10:48 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
:neener: :neener: :neener: tipsy
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315287 - 08/19/07 05:12 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Originally Posted By: Gizmo
Mark, we tried everything, but unfortunately, she's dead, you're screwed... next?

lol... jk, not sure about how to fix it here atm...
It doesnt bother me to be honest just wanted to highlight that it was going on. wink

LiveLeak - very popular with the armed forces
Any code for those video's Sir Gizmo wink
http://www.liveleak.com/view?i=04c_1186817959

smile smile smile smile smile

Top
#315289 - 08/19/07 06:20 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
try:
Code:
			array( "#\[liveleak\]([a-zA-Z0-9_]+)\[/liveleak\]#i", '<center><object type="application/x-shockwave-flash" width="450" height="370" wmode="transparent" data="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="movie" value="http://www.liveleak.com/player.swf?autostart=false&token=\1"><param name="wmode" value="transparent"><param name="quality" value="high"></object></center>' ),
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315290 - 08/19/07 06:27 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
added liveleak to my initial block of code since i have it working in my demo zone.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315296 - 08/19/07 05:11 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Good lad Gizmo wink Thanks, i will pass on the love from my members wink

Top
#315298 - 08/19/07 07:22 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: Mark_S
Thanks, i will pass on the love from my members wink
tell them to open wide...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315384 - 08/23/07 11:05 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Added tags for Super Deluxe
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315385 - 08/24/07 12:24 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
added a markup panel how to to the initial posting... This will insert a graphic next to the image embed item which will drop down a list of video sites. Upon clicking the site you wish to embed from, it will prompt you for your video id and then it will ask for a description of the video as well. Will attach screens as well to the initial post.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315386 - 08/24/07 12:26 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
gettin better!!

giz FlexTM wink
_________________________

Top
#315387 - 08/24/07 12:35 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
:flex:™ hehe... took a good portion of my evening to figure out how to do things in javascript, and a good part of last night lol... But overall I think it's dead sexy wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315388 - 08/24/07 12:37 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
I'm wondering what I should do next... Do a seperate markup panel for the search options (search engines, wiki, and froogle and several others) or what... Not sure what i should do for an image on it either lol...

Like my image? I made it myself after a boatload of trial and error lol
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315394 - 08/24/07 07:52 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Wow, ten downloads already of the markup panel addon... Let me know what you think!
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315401 - 08/24/07 12:00 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
working and looking good gizmo.

Feedback :

1. Its the mark up panel i know but when you finish with the
code + description in FF the drop list is in the way of the output.

2. If you dont enter a description in the box, the tags are left visible ]desc[ ]/desc[ ive reversed the braces to help.

Apart from that, i moved our prefered vids up and down in the tpl file and all is well wink

Awaiting user feedback.

Top
#315405 - 08/24/07 06:34 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
In all honesty, your users really need to enter a description... Search engines and visually impaired users can't see the video, so the topic of the page will just be your responses... I guess I could seperate the description into its own area though at the bottom of the list... But again, I recommend that if you're going to post a video that you should post a description no matter what... Plus it's not like you can't remove the tags...

On #1 i'm not sure i get what youw ant... It loads fine for me in FireFox so I guess it's just a miss communication...

BTW, I stole the markup info from the text size box and used the doprompt script, so the behavior of the dropdown will directly reflect that of what the font type/size dropdowns work.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315406 - 08/24/07 07:58 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Were used to just adding the code,
the subject of the topic normally covers any description that's required. I don't think its needed mate.

Its feedback not criticism, its one of the best mods i have installed.

If it can be edited that the "[desc]" tags don't show if nothing is entered then i say you have a solid add-on wink

but i'm glad your happy to share smile

Top
#315407 - 08/24/07 11:38 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Well, you could go through the js file and take out the desc options for every tag type if you want to remove the option for the description... I still stand behind the current methodology, but I'll build a seperate js addon for you since you don't want it that way.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315408 - 08/24/07 11:40 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Just for mark:
Code:
/* Start Gizmo's Video Embedding Options */
	if (action == "break") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[break]" + thisVideo + "[/break]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "googlevideo") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[googlevideo]" + thisVideo + "[/googlevideo]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "liveleak") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[liveleak]" + thisVideo + "[/liveleak]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "loowavideo") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[loowavideo]" + thisVideo + "[/loowavideo]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "myspacevideo") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[myspacevideo]" + thisVideo + "[/myspacevideo]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "revver") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[revver]" + thisVideo + "[/revver]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "sdeluxe") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[sdeluxe]" + thisVideo + "[/sdeluxe]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "yahoovideo") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[yahoovideo]" + thisVideo + "[/yahoovideo]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
	if (action == "youtube") {
		var thisVideo = prompt(enterVideo, "");
		if (thisVideo == null){return;}

		insertAtCaret(document.replier.Body, "\n[youtube]" + thisVideo + "[/youtube]\n" );
		document.replier.texteditor.focus();
		showHideElement('vembed', 'hide');
		return;
	}
/* End Gizmo's Video Embedding Options */


Simply replace the section in the js file and you'll no longer be prompted for a description.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315409 - 08/24/07 11:57 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Updated my initial post with an alternate method for those who do not want the desc tag (though highly recommended that you use the one which does use it)
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315411 - 08/25/07 04:34 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Cheers Gizmo,
i'm not saying there not important, but if they auto cancelled them self out if the box was empty at the prompt would keep all happy smile

Easy to say than done i know.

The description is a nice touch, but on my forums members just throw a topic title up and embed the video end.

Thanks for the "Just for mark code" wink

Top
#315412 - 08/25/07 07:10 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
Originally Posted By: Mark_S
Thanks for the "Just for mark code" wink


I'm gonna give that version a go to when 7.2.2 is released! Allthough we only offer google video and youtube yet.
_________________________

Top
#315413 - 08/25/07 07:31 AM Re: [7.x] Gizmo's Embedding BBCode [Re: blaaskaak]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
That's what i done stripped out some of the others in the .tpl file and shuffled them around and put you tube at the top wink

Top
#315416 - 08/25/07 06:12 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
'eh I like alphabetical listing wink... So when I added SuperDeluxe (watch adult swim? it's the one they highly advertise, so it's rather large) I decided to sort them like that since there where so many video items now...

_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315425 - 08/26/07 10:40 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
ntdoc Offline
Newbie

Registered: 12/14/06
Posts: 16
Does post 1 have the most complete update of this code all in one?

Where can I see and use this mod in operation?

Top
#315426 - 08/27/07 12:03 AM Re: [7.x] Gizmo's Embedding BBCode [Re: ntdoc]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Post #1 contains all current code and is updated on a regular basis.

As for where to see it in action My Video Studio
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315433 - 08/27/07 02:11 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
holy crap! that theme is uber-dark... /me gets flashlight..
_________________________

Top
#315434 - 08/27/07 03:02 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Originally Posted By: sirdude
holy crap! that theme is uber-dark... /me gets flashlight..
its where the vampires lurk
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#315435 - 08/27/07 03:02 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
you need a lighter theme.. that one's kinda ghey.. shocked
_________________________

Top
#316042 - 10/18/07 05:57 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Does anyone have a .FLV player For UBB ?

let me explain.
With the numerous sites out there that will convert your
own movies to *.flv files like what You Tube Does.

Many of my members are using these site to compress there
video's into .flv files and now are asking if our own
forums can show them, if there uploaded.

Summary
I'm after a .FLV player to work like you tube and such.
So we can show video's with the embedded screen.

Any Help or Advice Appreciated smile

Top
#316043 - 10/18/07 06:20 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
google

1st hit

Linky Poo

Creative Commons License player Linky Dinky

how to do it in wordpress (what you'd have to do for ubbt): Ca Ching
_________________________

Top
#316044 - 10/19/07 05:14 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Why Thank You SD smile
I got one out of 3 in may search lol..

I shall have a play with that smile
Its more for keeping Archives available and not deleted
from there source in moments of tantrums lol..

Thanks again smile

Top
#316045 - 10/19/07 06:35 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Seems the first one is a bit buggy.
Ca Ching flew over my head lol


Got this one to work with out too much difficulty
http://www.jeroenwijering.com/?item=JW_FLV_Player

Reading this
http://www.jeroenwijering.com/extras/readme.html

<Edit>
Wow just found a wizard to make it easy smile
http://www.jeroenwijering.com/extras/wizard.html

Full Reply HTML Selected
And pasting in the Embedded Code
Changing the path to the Files i uploaded
And the File on my server i want to play.

Its clunky but works,
not as simple a Gizmo's Embedded stuff but for keeping a
archive it should do me fine smile
But what do you want for free lol

Ive probably gone round the world to do something simple
if you find a easier way or not as clunky please share smile


Edited by Mark_S (10/19/07 06:55 AM)
Edit Reason: added wizard link

Top
#316046 - 10/19/07 07:10 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
you could make an embed code to utilize it wink...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316047 - 10/19/07 08:25 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
If i was that clever my friend i would,
but i'm not lol...

But there is a man that's ever so clever with this stuff
not a million miles away lol

Top
#316048 - 10/19/07 10:13 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
Originally Posted By: Gizmo
you could make an embed code to utilize it wink...
hehe smile
_________________________

Top
#316050 - 10/19/07 06:16 PM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Lol whats the code you use to embed the file on your posts?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316051 - 10/19/07 11:19 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
blaaskaak Offline
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
We have a gizmo to make up those smile
_________________________

Top
#316052 - 10/20/07 12:07 AM Re: [7.x] Gizmo's Embedding BBCode [Re: blaaskaak]
sirdude Offline
Enthusiast

Registered: 11/08/03
Posts: 490
Loc: SoCal
yah giz, quite post whoring and get to some regexes!!

speaking of which Linky Poo <-- geeks get it laugh
_________________________

Top
#316053 - 10/20/07 08:26 AM Re: [7.x] Gizmo's Embedding BBCode [Re: sirdude]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Well, i love mark, so i'll help him out if he gets back to me wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316116 - 10/24/07 04:13 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Phew just check my e-mails and seen the "Loves mark"
well who could resist such an offer lol

Code:


<embed src="http://www.mydomain.co.uk/pathtoplayer/flvplayer.swf" width="425" height="300" 
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" 
flashvars="file=http://www.mydomain.co.uk/pathtomyvideo/myvideo.flv&displayheight=300" />


That's all i use Giz wink
I guess if you can come up with something then i will have a
dedicated directory for all video's smile

p.s Giz your kinda special to me too lol

Top
#316118 - 10/24/07 05:14 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Mark_S]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Hi Mark
Code:
			array( "#\[embed\]([a-zA-Z0-9-_]+)\[/embed\]#i", '<center><embed src="http://www.mydomain.co.uk/pathtoplayer/flvplayer.swf" width="425" height="350" 
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" 
flashvars="file=http://www.mydomain.co.uk/pathtomyvideo/\1.flv&displayheight=350" /></center>' ),


[embed]videoid[/embed]
Bye Mark wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316145 - 10/26/07 12:01 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
Cheers Gizzy
Will give that a blast on the weekend if i have time.
Thanks for taking the time out smile

Will report back when up and running.

Top
#316409 - 11/30/07 12:25 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Billy Mead Offline
Lurker

Registered: 10/22/07
Posts: 4
Nothing makes you feel more dumb than not being able to follow simple directions.. twice.

Both times a clean attempt with virgin files and still, only the code displays. Ver 7.2.2 is what we run.

Any help at all would be great, even it’s a just a pointer.

B

Top
#316410 - 11/30/07 12:25 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Billy Mead]
Billy Mead Offline
Lurker

Registered: 10/22/07
Posts: 4

Top
#316411 - 11/30/07 12:46 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Billy Mead]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Could you link me to a specific post which isn't parsing data?
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316417 - 12/02/07 08:42 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Billy Mead Offline
Lurker

Registered: 10/22/07
Posts: 4

Top
#316418 - 12/03/07 02:41 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Billy Mead]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
access denied frown
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#316430 - 12/03/07 10:47 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Ian_W]
Billy Mead Offline
Lurker

Registered: 10/22/07
Posts: 4
Thanks Ian. I really appreciate your help. Forgot you had to register to see that forum frown

http://www.bostondancemusic.com/forum/ubbthreads.php?ubb=showflat&Number=37056#Post37056

Top
#316431 - 12/03/07 11:09 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Billy Mead]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Your posting the embed code, all you need is the id:
[youtube]cebkHslx5oY[/youtube]

7.3 video tags will allow you to insert the URL to the video.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316715 - 02/15/08 07:18 AM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Initial post updated to show 7.3 links of the compatibility (these codes ala 7.3's customtag editor) and the 7.3 CustomTags thread (two separate threads).
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316731 - 02/19/08 02:34 PM Re: [7.x] Gizmo's Embedding BBCode [Re: Gizmo]
Mark_S Offline
Power User

Registered: 11/15/03
Posts: 86
Loc: UK
This is a revelation in 7.3 i love it smile
Good work fellow Gizzz

Top
#316867 - 04/12/08 05:35 PM Re: [7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) [Re: Gizmo]
Morley Offline
Lurker

Registered: 04/11/08
Posts: 2
Hi,

Is there any way to add autostart=false to the Flash embed for version 7.2.2?

Thanks

Top
#316868 - 04/12/08 06:52 PM Re: [7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) [Re: Morley]
Gizmo Offline

Wizard

Registered: 01/10/00
Posts: 5354
Loc: Portland, OR, USA
Yeh, simply take the current:
Code:
			array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
			array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),


And change it to be:
Code:
			array( "#\[flash\]([0-9]+), ([0-9]+), ([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="\2" height="\1"><param name="movie" value="\3"></param><param name="autostart" value="false"></param><embed src="\3" type="application/x-shockwave-flash" width="\2" height="\1"></embed></object></center>' ),
			array( "#\[flash\]([a-zA-Z0-9-_.&:/]+)\[/flash\]#i", '<center><object width="425" height="350"><param name="movie" value="\1"></param><param name="autostart" value="false"></param><embed src="\1" type="application/x-shockwave-flash" width="425" height="350"></embed></object></center>' ),


The param addition should do the job for you smile.
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

Top
#316870 - 04/13/08 03:38 PM Re: [7.x] Gizmo's Embedding BBCode (Pre UBB.T7.3) [Re: Gizmo]
Morley Offline
Lurker

Registered: 04/11/08
Posts: 2
Thanks!

Top
Page 1 of 7 1 2 3 4 5 6 7 >



Moderator:  sirdude 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks